package io.renren.hd.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;

import java.io.Serializable;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 *
 * </p>
 *
 * @author LiuZhen
 * @since 2022-04-23
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class GenConfig implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 主路径
     */
//    @TableField("mainPath")
//    private String mainPath;

    /**
     * 包名
     */
    @TableField("bao")
    private String bao;

    /**
     * 模块名
     */
    @TableField("moduleName")
    private String moduleName;

    /**
     * 表前缀
     */
    @TableField("tablePrefix")
    private String tablePrefix;

    /**
     * 表名
     */
    @TableField("tableName")
    private String tableName;

    /**
     * 数据源id
     */
    @TableField("datasourceId")
    private String datasourceId;


}
